package hik.entity.preset;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
@XmlType(name = "ThermometryRegionList", propOrder = { "thermometryRegion"})
public class ThermometryRegionList {
	
	@XmlElement(name="ThermometryRegion",required = true)
	private List<ThermometryRegion> thermometryRegion;
	
	
	public ThermometryRegionList() {
		List<ThermometryRegion> list = new ArrayList<>();
		for (int i = 1; i < 22; i++) {
			list.add(new ThermometryRegion(i));
		}
		this.thermometryRegion = list;
	}
	

	public List<ThermometryRegion> getThermometryRegion() {
		return thermometryRegion;
	}

	public void setThermometryRegion(List<ThermometryRegion> thermometryRegion) {
		this.thermometryRegion = thermometryRegion;
	}
	
}
